<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<script src="js/jquery-2.2.0.min.js"></script>
<script type="text/javascript">
	  //验证密码 
		function checkpsd1(){  
			psd1=form1.yourpass.value;
			var flagZM=false ;
			var flagSZ=false ;
			var flagQT=false ;
			if(psd1.length<6 || psd1.length>12){
				divpassword1.innerHTML='<font class="tips_false">长度错误</font>';
			}else
				{
				  for(i=0;i < psd1.length;i++)
					{
						if((psd1.charAt(i) >= 'A' && psd1.charAt(i)<='Z') || (psd1.charAt(i)>='a' && psd1.charAt(i)<='z'))
						{
							flagZM=true;
						}
						else if(psd1.charAt(i)>='0' && psd1.charAt(i)<='9')
						{
							flagSZ=true;
						}else
						{
							flagQT=true;
						}
					} 
					if(!flagZM||!flagSZ||flagQT){
					divpassword1.innerHTML='<font class="tips_false">密码必须是字母数字的组合</font>';
					}else{
					divpassword1.innerHTML='<font class="tips_true">输入正确</font>';
					}
				}
		}
		//验证确认密码
		function checkpsd2(){
			if(form1.yourpass.value!=form1.yourpass2.value){
				  divpassword2.innerHTML='<font class="tips_false">您两次输入的密码不一样</font>';
				}else{
				  divpassword2.innerHTML='<font class="tips_true">输入正确</font>';
				}
		}
  </script>


</head>

<body>
<form id="signupForm" class="regleader" action="<?=base_url() ?>member/resetpassword"  method="post" name="signupForm" >
  <tr>     
    <td width="180" height="40" align="right">输入新密码</td>  
    <td > <input type="password" style="width:180px" name="password" class="inputxt" value="" id="password" required/></td>  
  </tr>  
  
  <tr>  
    <td height="40" align="right">再次确认新密码</td>  
    <td><input type="password" value="" name="repassword" class="inputxt" id="repassword" required="" style="width:180px"/></td>      
  </tr>   
  <tr>      
    <td ></td>  
    <td ><button type="submit" class="btn btn-primary" id="login" style="width:200px"  onclick="return insertManager()" > 下一步 </button>  
      &nbsp;&nbsp;  
    </td>  
      
  </tr>  
<tr>  
   <td height="10" colspan="2"></td>  
</tr>  
  
<tr><td height="10" colspan="3"></td></tr>    
</table>  
  
</form>    
</body>
</html>
